#ifndef AT32F415RCT7_SPI_H
#define AT32F415RCT7_SPI_H
#include "at32f415_conf.h"
#include "at32f415_gpio_driver.h"

void app_spi_init(void);
void spi_send_byte(uint8_t data);
void spi_dma_config(dma_channel_type* dmax_channely,confirm_state isinc,uint32_t mptr,uint32_t len);
void app_spi_dma_enale();
#endif